package com.ado.abyss.core.service;

import java.util.List;

import com.ado.abyss.core.dal.model.SysLog;
import com.ado.abyss.core.params.page.PageRequest;
import com.ado.abyss.core.params.page.PageResult;
import com.github.pagehelper.PageInfo;

public interface SysLogService {

	/**
	 * 
	 * @param sysLog
	 */
	boolean save(SysLog sysLog);
	
	/**
	 * 
	 * @param sysLog
	 * @return
	 */
	boolean deleteLog(SysLog sysLog) ;
	
	/**
	 * 
	 * @param sysLogs
	 * @return
	 */
	boolean deleteLogBatch(List<SysLog> sysLogs) ;
	
	/**
	 * 
	 * @param id
	 * @return
	 */
	SysLog getById(Long id) ;
	
	/**
	 * 
	 * @param pRequest
	 * @return
	 */
	PageResult findPage(PageRequest pRequest) ;

}
